﻿<!doctype html>
<html lang="en">

<head>
	<meta charset="utf-8"/>
	<title>Noodles Admin Panel</title>	

	<!--[if lt IE 9]>
	<link rel="stylesheet" href="~/Areas/Admin/Content/css/ie.css" type="text/css" media="screen" />
	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
    <link href="../../../../fancybox/jquery.fancybox-1.3.4.css" rel="stylesheet" type="text/css" />
    @{ 
            Html.RequiresCss("layout.css", "layout");            

     }
   @MvcHtmlString.Create(Html.RenderCssHere(new List<IClientDependencyPath> {
    new BasicPath("layout", "~/Areas/Admin/Content/css")   
  }))

    <script src="@Url.Content("~/Areas/Admin/Content/js/jquery-1.5.2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Areas/Admin/Content/js/hideshow.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Areas/Admin/Content/js/jquery.tablesorter.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Areas/Admin/Content/js/jquery.equalHeight.js")" type="text/javascript"></script>
    <script  src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script  src="@Url.Content("~/fancybox/jquery.mousewheel-3.0.4.pack.js")" type="text/javascript"></script>
    <script  src="@Url.Content("~/fancybox/jquery.fancybox-1.3.4.pack.js")" type="text/javascript"></script>	
	<script  src="@Url.Content("~/Scripts/tooltip.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Areas/Admin/Content/js/jquery.equalHeight.js")" type="text/javascript"></script>    
    

    <script src="../../../../Scripts/tinymce/tiny_mce.js" type="text/javascript"></script>
	<script type="text/javascript">    

	    $(document).ready(function () {
	        $(".tablesorter").tablesorter();
	    }
	);
	    $(document).ready(function () {

	        //When page loads...
	        $(".tab_content").hide(); //Hide all content
	        $("ul.tabs li:first").addClass("active").show(); //Activate first tab
	        $(".tab_content:first").show(); //Show first tab content

	        //On Click Event
	        $("ul.tabs li").click(function () {

	            $("ul.tabs li").removeClass("active"); //Remove any "active" class
	            $(this).addClass("active"); //Add "active" class to selected tab
	            $(".tab_content").hide(); //Hide all tab content

	            var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
	            $(activeTab).fadeIn(); //Fade in the active ID content
	            return false;
	        });

	    });
    </script>
    <script type="text/javascript">
        $(function () {
            $('.column').equalHeight();
        });
</script>

</head>


<body>

	<header id="header">
		<hgroup>
			<h1 class="site_title"><a href="index.html">Noodles Kitchen</a></h1>
			<h2 class="section_title"></h2><div class="btn_view_site"><a href="http://www.medialoot.com">View Site</a></div>
		</hgroup>
	</header> <!-- end of header bar -->
	
	<section id="secondary_bar">
		<div class="user">
			<p>@Session["adminid"]</p>
			<!-- <a class="logout_user" href="#" title="Logout">Logout</a> -->
		</div>
		<div class="breadcrumbs_container">
			<article class="breadcrumbs"><a href="/Admin/Admin/">Website Admin</a> <div class="breadcrumb_divider"></div> <a class="current">Dashboard</a></article>
		</div>
	</section><!-- end of secondary bar -->
	
	<aside id="sidebar" class="column">
		<form class="quick_search">
			<input type="text" value="Quick Search" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;">
		</form>
		<hr/>
		<h3>Content</h3>
		<ul class="toggle">
			<li class="icn_new_article">@Html.ActionLink("New Blog Post","Index","BlogPost")</li>
			<li class="icn_edit_article">@Html.ActionLink("Edit Pages","Index","Pages")</li>
			<li class="icn_categories"><a href="#">Categories</a></li>
			<li class="icn_tags"><a href="#">Tags</a></li>
		</ul>
		<h3>Users</h3>
		<ul class="toggle">
			<li class="icn_add_user"><a href="#">Add New User</a></li>
			<li class="icn_view_users"><a href="#">View Users</a></li>
			<li class="icn_profile"><a href="#">Your Profile</a></li>
		</ul>
		<h3>Media</h3>
		<ul class="toggle">
			<li class="icn_folder"><a href="#">File Manager</a></li>
			<li class="icn_photo"><a href="#">Gallery</a></li>
			<li class="icn_audio"><a href="#">Audio</a></li>
			<li class="icn_video"><a href="#">Video</a></li>
		</ul>
		<h3>Admin</h3>
		<ul class="toggle">
			<li class="icn_settings"><a href="#">Options</a></li>
			<li class="icn_security"><a href="#">Security</a></li>
			<li class="icn_jump_back"><a href="#">Logout</a></li>
		</ul>
		
		<footer>
			<hr />
			<p><strong>Copyright &copy; 2012 Web Noodles</strong></p>
			<p>Theme by <a href="http://www.medialoot.com">MediaLoot</a></p>
		</footer>
	</aside><!-- end of sidebar -->
	
	<section id="main" class="column">
		
		<h4 class="alert_info">Welcome to the ...Site Title...</h4>
		@if (TempData["message"] != null)
                    {                     
                    <h4 class="alert_success">@TempData["message"]</h4>
                    }
                    @if (TempData["errormessage"] != null)
                    {                     
                    <h4 class="alert_error">@TempData["errormessage"]</h4>
                    }
		@RenderBody()		
		
		<!-- end of styles article -->
		<div class="spacer"></div>
	</section>


</body>

</html>